-
Home
-
WordPress Appointment Booking Plugin
-
2.3.0 (latest)
-
Code
-
Classes
- TimePeriod
Total Complexity |
53 |
Dependencies |
3 |
Dependents |
12 |
Total lines |
340 |
Lines of code |
155 |
Logical lines of code |
69 |
Comment lines |
134 |
Methods |
23 |
Properties |
2 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
toString() |
A |
56 |
8 |
17 |
setEndTime() |
S |
62 |
4 |
12 |
diffPeriod() |
S |
64 |
4 |
11 |
intersectsWith() |
S |
64 |
4 |
9 |
mergePeriod() |
S |
66 |
3 |
8 |
setDate() |
S |
64 |
3 |
9 |
splitByPeriod() |
S |
63 |
3 |
10 |
validate() |
S |
62 |
2 |
12 |
__construct() |
S |
68 |
2 |
8 |
mergePeriods() |
S |
74 |
2 |
5 |
createFromPeriod() |
S |
67 |
2 |
8 |
isEqualTo() |
S |
75 |
2 |
4 |
isSubperiodOf() |
S |
75 |
2 |
4 |
isInPeriod() |
S |
78 |
2 |
3 |
setStartTime() |
S |
69 |
2 |
7 |
parsePeriod() |
S |
72 |
1 |
5 |
getDuration() |
S |
78 |
1 |
3 |
expand() |
S |
74 |
1 |
4 |
getEndTime() |
S |
81 |
1 |
3 |
getStartTime() |
S |
81 |
1 |
3 |
__toString() |
S |
81 |
1 |
3 |
__clone() |
S |
76 |
1 |
4 |
isEmpty() |
S |
80 |
1 |
3 |